package com.example.demo.Bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class LeavePeople {
        public String getPeopleID() {
            return peopleID;
        }

        public void setPeopleID(String peopleID) {
            this.peopleID = peopleID;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getOld() {
            return old;
        }

        public void setOld(int old) {
            this.old = old;
        }

        public String getNation() {
            return nation;
        }

        public void setNation(String nation) {
            this.nation = nation;
        }

        public String getWork() {
            return work;
        }

        public void setWork(String work) {
            this.work = work;
        }

        public String getFace() {
            return face;
        }

        public void setFace(String face) {
            this.face = face;
        }

        public String getLearn() {
            return learn;
        }

        public void setLearn(String learn) {
            this.learn = learn;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public Date getComeTime() {
            return comeTime;
        }

        public void setComeTime(Date comeTime) {
            this.comeTime = comeTime;
        }

        public Date getLeaveDate() {
            return leaveDate;
        }

        public void setLeaveDate(Date leaveDate) {
            this.leaveDate = leaveDate;
        }
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        private String peopleID;
        private String name;
        private int old;
        private String nation;
        private String work;
        private String face;
        private String learn;
        private String sex;
        private int money;
        @JsonFormat(pattern = "yyyy-MM-dd")
        private Date comeTime;
        private int id;// bumenID
        @JsonFormat(pattern = "yyyy-MM-dd")
        private Date leaveDate;
}
